package com.example.demo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * @author lee
 * @date 2021年06月14日 19:22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Content {
    @Field(type = FieldType.Keyword)
    private String img;
    private String price;
    private String title;
    private String href;
}
